// CppUnit-Tutorial
// Datei: bruchtest.h
#ifndef BRUCHTEST_H
#define BRUCHTEST_H

#include <cppunit/TestFixture.h>
#include <cppunit/extensions/HelperMacros.h>
#include "../include/staticObject.h"

using namespace std;
using namespace oal;

class testStaticObject : public CPPUNIT_NS :: TestFixture
{
	CPPUNIT_TEST_SUITE (testStaticObject);
	CPPUNIT_TEST (testLTrim);
	CPPUNIT_TEST (testRTrim);
	CPPUNIT_TEST (testTrim);
	CPPUNIT_TEST (testCharToLower);
	CPPUNIT_TEST (testCharToUpper);
	CPPUNIT_TEST (testStringToLower);
	CPPUNIT_TEST (testStringToUpper);
	CPPUNIT_TEST (testImplode);
	CPPUNIT_TEST (testExplode);
	CPPUNIT_TEST (testStringReplace);
	CPPUNIT_TEST (testStringReplaceWithSpecialChars);
	CPPUNIT_TEST (testSearchInContentFor);
	CPPUNIT_TEST (testSearchInContentForWithfirstPos);
	CPPUNIT_TEST (testMakeTimeStruct);
	CPPUNIT_TEST (testGetTimeStamp);
	CPPUNIT_TEST_SUITE_END ();

	public:
		void setUp (void);
		void tearDown (void);

	protected:
		void testLTrim (void);
		void testRTrim (void);
		void testTrim (void);
		void testCharToLower (void);
		void testCharToUpper (void);
		void testStringToLower (void);
		void testStringToUpper (void);
		void testExplode (void);
		void testImplode (void);
		void testStringReplace (void);
		void testStringReplaceWithSpecialChars (void);
		void testSearchInContentFor(void);
		void testSearchInContentForWithfirstPos(void);
		void testMakeTimeStruct(void);
		void testGetTimeStamp(void);

};

#endif
